﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Pong_Xvna
{
    public class Map : Pong_Xvna.Sprite
    {
        public Map(Game game, Vector2 pos, Vector2 velo)
            : base(game,pos,velo)
        {
            nTexture2D = 1;
            iTexture2D = 0;
            texture = new Texture2D[nTexture2D];
            for (int i = 0; i < nTexture2D; i++)
                texture[i] = Game.Content.Load<Texture2D>("BG");
        }
        public override void Initialize()
        {
            base.Initialize();
        }
        public override void Update(GameTime gameTime)
        {
            

            base.Update(gameTime);
        }
        public override void Draw(GameTime gameTime)
        {
            base.Draw(gameTime);
        }
        public override Sprite Clone()
        {
            Sprite sp = new Map(Game1, new Vector2(350, 200), Vector2.Zero);
            return sp;
        }
    }
}
